package com.nf.action;

public class Girl {
    public Girl() {
        System.out.println("1、IOC容器创建bean实例"+this);
    }

    private String name;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        System.out.println("2、Bean属性设置值value或引用其他bean"+name);
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        System.out.println("2、Bean属性设置值value或引用其他bean"+age);
        this.age = age;
    }

    public void weizhuang(){
        System.out.println("3、伪装一下");
    }

    public void xiezhuang(){
        System.out.println("4、把面具摘下来");
    }

    public void chifan(){
        System.out.println("好好吃一顿");
    }

    public void guangjie(){
        System.out.println("买衣服");
    }
}
